package com.yqb.study.constant.log;

/**
 * 日志类型枚举,与Dict表中日志类型对应,需要同步修改
 */
public enum LogTypeEnum {

	LOGIN_LOG(1, "登录日志"), 
	LOGOUT_LOG(2, "退出日志"), 
	QUERY_LOG(3, "业务查询日志"), 
	ADD_LOG(4, "业务添加日志"), 
	DELETE_LOG(5, "业务删除日志"), 
	UPDATE_LOG(6, "业务编辑日志"),
	EXCEPT_LOG(7, "异常日志");

	// 日志类型编号
	private final Integer num;

	// 日志类型中文名称
	private final String name;

	private LogTypeEnum(Integer num, String name) {
		this.num = num;
		this.name = name;
	}

	public Integer getNum() {
		return num;
	}

	public String getName() {
		return name;
	}
}
